package com.spirit.controler.user;

import com.spirit.domain.user.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/restUser")
public class RestUserController {

    @RequestMapping(value = "/testRestController")
    public User testRestController(){
        User user = new User();
        user.setUserName("admin");
        return user;
    }
}
